package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 人脸采集
 * </p>
 *
 * @author hpiggy
 * @since 2024-04-19
 */
@TableName("student_face_many_detail")
@ApiModel(value = "StudentFaceManyDetail对象", description = "人脸采集")
@Data
public class StudentFaceManyDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String aliAccount;

    private Long studentId;

    @ApiModelProperty("现在使用的是学生id")
    private Long entityId;

    private String faceId;

    private Integer faceType;

    private Long tagId;

    private String ossImage;

    private String image;

    private Float qualitieScore;

    //mq处理状态，0未推送到mq,1推送到mq,2被mq成功消费
    private Integer pushMqType;

    private String remark;


    @ApiModelProperty("1主图，即采集的图，0为从主图复制的图")
    private Integer type;

    private Integer mqQueueKey;

    @TableLogic
    private Integer deleted;

    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;

    @ApiModelProperty("更新版本")
    @TableField(fill = FieldFill.UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Integer updateLevel;
}
